package com.dnxh.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dnxh.entity.Meeting;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zhiqiu
 * @since 2022 -04-12
 */
@Mapper
public interface MeetingMapper extends BaseMapper<Meeting> {
	
	/**
	 * 查询数据
	 *
	 * @param iPage the page
	 * @param name  the name
	 * @return the list
	 */
	List<Meeting> search(IPage<Meeting> iPage,@Param ("name") String name);
	
	/**
	 * Delete meeting.
	 *
	 * @param id the id
	 */
	void deleteMeeting(@Param ("id") Long id);
}
